<!DOCTYPE html>
<html>
<head lang="en">
    <meta charset="UTF-8">
    <title></title>
    <link href="../../resources/css/bootstrap/bootstrap.min.css" rel="stylesheet">
    <link rel="stylesheet" href="../../resources/font-awesome/css/font-awesome.css"/>
    <link rel="stylesheet" href="../../resources/css/plugins/bootstrap-fileinput/css/fileinput.css"/>
    <link rel="stylesheet" href="../../resources/css/pluginsExt/Tabledemo/Tabledemo.css"/>
</head>
<body>
<div class="container">
    <form action="" class="formSub">
        用户名:<input type="text" required name="user">
        asd:<input type="text" required name="pss">
        密码:<input type="text" required name="asdas">
        <input type="submit" class="subMit" value="提交" style="display: none">
    </form>
</div>

</body>
<script src="../../resources/js/jquery-2.1.1.js"></script>
<script src="../../resources/js/bootstrap/bootstrap.min.js"></script>
<script src="../../resources/js/plugins/validate/jquery.validate.min.js"></script>
<script src="../../resources/js/plugins/validate/messages_zh.js"></script>
<script>

        function btnSub(){
            $('.subMit').click();
        }
        $('.formSub').validate({
            submitHandler:function(form){
                alert('提交成功')
            },
        });
       </script>
</html>